<?php // @version $Id: default.php 11305 2008-11-23 19:14:25Z ian $
defined('_JEXEC') or die('Restricted access');

// Devo essere alla pagina 99
global $Itemid, $mainframe;
if($Itemid != '99') {
	
	// Forzo redirect
	$uri = JFactory :: getURI();
	$mainframe -> redirect(JRoute::_($uri -> toString(array('path', 'query')) . "&Itemid=99"));
}
?>

<?php 
if ($this->params->get('show_page_title', 1)) : 
	// Catturo itemId
	global $Itemid;
	
	// Catturo itemMenu raggiunto
	$itemMenu = $mainframe -> getMenu() -> getItem($Itemid);
	?>

	<h2><?php echo $itemMenu->name; ?></h2>
	
	<?php

endif; 
?>


<form action="index.php?option=com_user&amp;task=requestreset" method="post" class="josForm form-validate">
	<fieldset>
	
	<div id="show-message"></div>
	
	<p><?php echo JText::_('RESET_PASSWORD_REQUEST_DESCRIPTION'); ?></p>
	<div class="pulizia"></div>
	
	<p>
		<label for="email" title="<?php echo JText::_('RESET_PASSWORD_EMAIL_TIP_TITLE'); ?>::<?php echo JText::_('RESET_PASSWORD_EMAIL_TIP_TEXT'); ?>"><?php echo JText::_('Email Address'); ?>:</label>
		<input id="email" name="email" type="text" class="required validate-email" />
	</p>
	
	<div class="pulizia"></div>
	
	<p>
		<button type="submit" class="validate"><?php echo strtolower(JText::_('Submit')); ?></button>
	</p>
	
	<?php echo JHTML::_( 'form.token' ); ?>
	</fieldset>
</form>
